package com.example.pojo.VO;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class TakeJobUser {

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 用户姓名
     */
    private String username;

    /**
     * 电话
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;


    /**
     * 状态（如：正常、冻结）
     */
    private String status;

    /**
     * 是否贫困生（0=否，1=是）
     */
    private Integer isPoor;

    /**
     * 当前信用积分
     */
    private Integer creditScore;

    /**
     * 信用积分等级（如 A/B/C）
     */
    private String level;

    /**
     * 是否通过 拒绝，通过，未处理
     */
    private String isReceive;

    /**
     * 注册时间
     */
    private LocalDateTime createdTime;


    @Override
    public String toString() {
        return "TakeJobUser{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", status='" + status + '\'' +
                ", isPoor=" + isPoor +
                ", creditScore=" + creditScore +
                ", level='" + level + '\'' +
                ", isReceive='" + isReceive + '\'' +
                ", createdTime=" + createdTime +
                '}'+"\n";
    }
}
